<%--
  Created by IntelliJ IDEA.
  User: 13585
  Date: 2020/12/23
  Time: 8:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="top.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>预约登记表</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/index.css" rel="stylesheet">
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="js/jquery-3.2.1.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="js/bootstrap.min.js"></script>
</head>
<body>
<div id="regform">
    <div class="title">预约登记表</div>
    <div class="content">
        <c:if test="${!empty msg}">
            <div id="prompt">
                <span>${msg}</span>
                <button class="btn" onclick="changeDis()">确定</button>
            </div>
        </c:if>
        <script>
            function changeDis() {
                let msg = document.getElementById("prompt");
                msg.style.display = "none";
            }
        </script>
        <form class="form-horizontal" action="regForm" method="post">
            <div class="form-group">
                <label for="inputName" class="col-sm-3 control-label">团队名称:</label>
                <div class="col-sm-7">
                    <input type="text" name="teamname" class="form-control" id="inputName" placeholder="团队名称">
                </div>
            </div>
            <div class="form-group">
                <label for="inputPeople" class="col-sm-3 control-label">团队负责人:</label>
                <div class="col-sm-7">
                    <input type="text" name="teampeo" class="form-control" id="inputPeople" placeholder="团队负责人">
                </div>
            </div>
            <div class="form-group">
                <label for="inputUnit" class="col-sm-3 control-label">所在单位:</label>
                <div class="col-sm-7">
                    <input type="text" name="unit" class="form-control" id="inputUnit" placeholder="所在单位">
                </div>
            </div>
            <div class="form-group">
                <label for="inputNum" class="col-sm-3 control-label">职工号:</label>
                <div class="col-sm-7">
                    <input type="text" name="empnum" class="form-control" id="inputNum" placeholder="职工号码">
                </div>
            </div>
            <div class="form-group">
                <label for="inputAddress" class="col-sm-3 control-label">地址:</label>
                <div class="col-sm-7">
                    <input type="text" name="address" class="form-control" id="inputAddress" placeholder="地址">
                </div>
            </div>
            <div class="form-group">
                <label for="inputPhone" class="col-sm-3 control-label">手机号:</label>
                <div class="col-sm-7">
                    <input type="number" name="phone" class="form-control" id="inputPhone" placeholder="手机号码">
                </div>
            </div>
            <div class="form-group">
                <label for="inputTel" class="col-sm-3 control-label">办公电话:</label>
                <div class="col-sm-7">
                    <input type="text" name="telnum" class="form-control" id="inputTel" placeholder="团队办公电话">
                </div>
            </div>
            <div class="form-group">
                <label for="inputEmail" class="col-sm-3 control-label">Email:</label>
                <div class="col-sm-7">
                    <input type="email" name="email" class="form-control" id="inputEmail" placeholder="Email">
                </div>
            </div>
            <div class="form-group">
                <label for="inputUse" class="col-sm-3 control-label">主要用途:</label>
                <div class="col-sm-7">
                    <input type="text" name="purpose" class="form-control" id="inputUse" placeholder="主要用途">
                </div>
            </div>
            <div class="form-group">
                <label for="inputRem" class="col-sm-3 control-label">备注:</label>
                <div class="col-sm-7">
                    <textarea id="inputRem" name="remarks" class="form-control" rows="3"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-3 col-sm-10">
                    <button type="submit" class="btn btn-default">提交</button>
                </div>
            </div>
        </form>
    </div>
</div>

</body>
</html>
